import vuex from 'vuex'
import Vue from 'vue'
import todo from '@/store/module/todo'

Vue.use(vuex)
/**
 *
 * @type {import('vuex').module }
 */
const store = new vuex.Store({
  state: {},
  //抽离todo模块到moduletodo.js
  modules: { todo, }
})
export default store




